package cc.fine.svc.main.bean.po;

import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.IdType;
import java.util.Date;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 *      关联表：
 *          用户-视频，用户与视频收藏的关联
 * </p>
 *
 * @author wyihe
 * @since 2023-10-25
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@ApiModel(value="RelUserVideoCollect对象", description="用户-视频，记录用户收藏视频")
public class RelUserVideoCollect implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.ASSIGN_UUID)
    private String id;

    private String userId;

    private String videoId;

    @ApiModelProperty(value = "收藏夹id（对应 collect 表）")
    private String collectId;

    @ApiModelProperty(value = "作为收藏时间")
    @TableField(fill = FieldFill.INSERT)
    private Date gmtCreate;


}
